#define _CRT_SECURE_NO_WARNINGS 1
#include "List.h"

void test()
{
	ListNode* plist = NULL;
	plist = ListNode_init();
	ListPushBack(plist, 1);
	ListPushBack(plist, 2);
	ListPushBack(plist, 3);
	ListPushBack(plist, 4);
	ListNode* pos = FindListNode(plist, 5);
	printf("%p", pos);
	//ListNodePrintHead(plist);
	//LiseNodeErase(FindListNode(plist, 1));
	//LiseNodeErase(FindListNode(plist, 2));
	//LiseNodeErase(FindListNode(plist, 3));
	//ListNodePrintHead(plist);
	//ListNodeInsert(plist, 1);
	//ListNodeInsert(plist, 2);
	//ListNodeInsert(plist, 3);
	//ListNodeInsert(plist, 4);
	//ListNodeInsert(plist->next, 4);
	//ListNodeInsert(plist->next, 3);
	//ListNodeInsert(plist->next, 2);
	//ListNodeInsert(plist->next, 1);
	//ListNodePrintHead(plist);


}


int main()
{
	test();
	return 0;
}